package cn.tonyandmoney.voicenotes.notes.bean

import cn.tonyandmoney.voicenotes.notes.enums.OperationEnum

/**
 * 操作
 */
data class ReaderState(var code: Int = 0,
                       var operation: OperationEnum = OperationEnum.NONE) {

    fun isOperation(operation: OperationEnum): Boolean {
        return this.operation == operation
    }
}